package com.qf.commons.domain.coupon.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.logging.log4j.core.config.plugins.validation.constraints.NotBlank;

import java.util.List;

/**
 * @author new
 * @date 2023/9/5 8:49
 */
@Data
@Accessors(chain = true)
@Schema(description = "优惠券模板信息")
public class CouponTemplateVo {

    @NotBlank(message = "模板名称不能为空")
    @Schema(description = "优惠券模板标题")
    private String tempSubject;

    private String tempDesc;

    private Integer tempType;

    private String tempClass;

    /**
     * 集合存储动态属性
     */
    private List<CouponTemplateFieldVo> couponTemplateFieldVoList;
}
